<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>HeartLink - 寻找你的灵魂伴侣</title>
  <!-- 引入外部资源 -->
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
  
  <!-- 配置Tailwind -->
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            primary: '#FF5A5F', // 主色调：温暖的粉色
            secondary: '#00A699', // 辅助色：清新的绿色
            neutral: '#F7F7F7', // 中性色：浅灰
            dark: '#484848', // 深色文本
          },
          fontFamily: {
            sans: ['Inter', 'system-ui', 'sans-serif'],
          },
        },
      }
    }
  </script>
  
  <!-- 自定义工具类 -->
  <style type="text/tailwindcss">
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .card-shadow {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
      }
      .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      }
    }
  </style>
  
  <style>
    /* 基础动画定义 */
    .fade-in {
      animation: fadeIn 0.5s ease-in;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    .slide-up {
      animation: slideUp 0.6s ease-out;
    }
    
    @keyframes slideUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    
    /* 平滑滚动 */
    html {
      scroll-behavior: smooth;
    }
    
    /* 导航栏滚动效果 */
    .nav-scrolled {
      background-color: white;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
  </style>
</head>

<body class="bg-neutral text-dark">
  <!-- 导航栏 -->
  <header id="navbar" class="fixed w-full top-0 z-50 transition-all duration-300 bg-transparent">
    <div class="container mx-auto px-4 py-3 flex items-center justify-between">
      <!-- Logo -->
      <a href="#" class="flex items-center space-x-2">
        <i class="fa fa-heart text-primary text-2xl"></i>
        <span class="text-xl font-bold bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">HeartLink</span>
      </a>
      
      <!-- 桌面端导航 -->
      <nav class="hidden md:flex items-center space-x-8">
        <a href="#home" class="font-medium hover:text-primary transition-colors">首页</a>
        <a href="#discover" class="font-medium hover:text-primary transition-colors">发现</a>
        <a href="#matches" class="font-medium hover:text-primary transition-colors">匹配</a>
        <a href="#events" class="font-medium hover:text-primary transition-colors">活动</a>
      </nav>
      
      <!-- 登录/注册按钮 -->
      <div class="hidden md:flex items-center space-x-4">
        <a href="#" class="px-4 py-2 rounded-full hover:bg-gray-100 transition-colors">登录</a>
        <a href="#" class="px-4 py-2 bg-primary text-white rounded-full hover:bg-primary/90 transition-colors">注册</a>
      </div>
      
      <!-- 移动端菜单按钮 -->
      <button id="menuBtn" class="md:hidden text-dark text-xl">
        <i class="fa fa-bars"></i>
      </button>
    </div>
    
    <!-- 移动端导航菜单 -->
    <div id="mobileMenu" class="md:hidden hidden bg-white shadow-lg absolute w-full">
      <div class="container mx-auto px-4 py-3 flex flex-col space-y-4">
        <a href="#home" class="py-2 border-b border-gray-100 hover:text-primary">首页</a>
        <a href="#discover" class="py-2 border-b border-gray-100 hover:text-primary">发现</a>
        <a href="#matches" class="py-2 border-b border-gray-100 hover:text-primary">匹配</a>
        <a href="#events" class="py-2 border-b border-gray-100 hover:text-primary">活动</a>
        <div class="flex flex-col space-y-2 pt-2">
          <a href="#" class="px-4 py-2 text-center rounded-full border border-gray-300 hover:bg-gray-100">登录</a>
          <a href="#" class="px-4 py-2 text-center bg-primary text-white rounded-full hover:bg-primary/90">注册</a>
        </div>
      </div>
    </div>
  </header>

  <!-- 英雄区域 -->
  <section id="home" class="pt-28 pb-16 md:pt-36 md:pb-24 bg-gradient-to-b from-white to-neutral">
    <div class="container mx-auto px-4">
      <div class="flex flex-col md:flex-row items-center">
        <div class="md:w-1/2 slide-up">
          <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold leading-tight mb-4">
            找到与你<span class="text-primary">心灵相通</span>的人
          </h1>
          <p class="text-lg text-gray-600 mb-8 max-w-lg">
            HeartLink帮助你连接世界各地有趣的人，基于共同兴趣和价值观，寻找真正的灵魂伴侣。
          </p>
          <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
            <a href="#" class="px-8 py-3 bg-primary text-white rounded-full text-center font-medium hover:bg-primary/90 transition-all shadow-lg hover:shadow-xl">
              开始匹配
            </a>
            <a href="#" class="px-8 py-3 border-2 border-dark rounded-full text-center font-medium hover:bg-dark hover:text-white transition-all">
              了解更多
            </a>
          </div>
          <div class="mt-10 flex items-center">
            <div class="flex -space-x-2">
              <img src="https://picsum.photos/id/64/100" alt="用户头像" class="w-10 h-10 rounded-full border-2 border-white">
              <img src="https://picsum.photos/id/65/100" alt="用户头像" class="w-10 h-10 rounded-full border-2 border-white">
              <img src="https://picsum.photos/id/66/100" alt="用户头像" class="w-10 h-10 rounded-full border-2 border-white">
              <img src="https://picsum.photos/id/67/100" alt="用户头像" class="w-10 h-10 rounded-full border-2 border-white">
            </div>
            <p class="ml-4 text-gray-600">
              <span class="font-bold">10,000+</span> 人已找到匹配
            </p>
          </div>
        </div>
        <div class="md:w-1/2 mt-12 md:mt-0 fade-in">
          <img src="https://picsum.photos/id/26/800/600" alt="情侣约会" class="rounded-2xl shadow-2xl w-full object-cover h-[500px]">
          <div class="absolute md:relative md:bottom-10 md:left-10 bg-white p-4 rounded-xl shadow-lg -mt-8 ml-4 max-w-xs">
            <div class="flex items-center space-x-2 text-yellow-400 mb-2">
              <i class="fa fa-star"></i>
              <i class="fa fa-star"></i>
              <i class="fa fa-star"></i>
              <i class="fa fa-star"></i>
              <i class="fa fa-star"></i>
            </div>
            <p class="italic">"通过HeartLink，我找到了生命中的挚爱。感谢这个平台！"</p>
            <p class="font-medium mt-2">— 李明，28岁</p>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- 特色功能 -->
  <section class="py-16 bg-white">
    <div class="container mx-auto px-4">
      <div class="text-center mb-16">
        <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4">为什么选择HeartLink？</h2>
        <p class="text-gray-600 max-w-2xl mx-auto">我们提供独特的匹配算法和安全的交流环境，帮助你找到真正合适的人</p>
      </div>
      
      <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
        <!-- 特色1 -->
        <div class="bg-neutral p-8 rounded-2xl hover-lift card-shadow">
          <div class="w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-6">
            <i class="fa fa-bolt text-primary text-2xl"></i>
          </div>
          <h3 class="text-xl font-bold mb-3">智能匹配</h3>
          <p class="text-gray-600">基于性格测试、兴趣爱好和生活方式，我们的AI算法为你精准匹配最合适的人选。</p>
        </div>
        
        <!-- 特色2 -->
        <div class="bg-neutral p-8 rounded-2xl hover-lift card-shadow">
          <div class="w-16 h-16 bg-secondary/10 rounded-full flex items-center justify-center mb-6">
            <i class="fa fa-shield text-secondary text-2xl"></i>
          </div>
          <h3 class="text-xl font-bold mb-3">安全保障</h3>
          <p class="text-gray-600">所有用户均经过身份验证，提供多种隐私保护选项，让你在安全的环境中建立联系。</p>
        </div>
        
        <!-- 特色3 -->
        <div class="bg-neutral p-8 rounded-2xl hover-lift card-shadow">
          <div class="w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-6">
            <i class="fa fa-comments text-primary text-2xl"></i>
          </div>
          <h3 class="text-xl font-bold mb-3">轻松交流</h3>
          <p class="text-gray-600">多种互动方式，包括文字聊天、语音通话和视频约会，帮助你们逐步建立深入联系。</p>
        </div>
      </div>
    </div>
  </section>

  <!-- 发现区域 -->
  <section id="discover" class="py-16 bg-neutral">
    <div class="container mx-auto px-4">
      <div class="flex justify-between items-end mb-10">
        <div>
          <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4">发现附近的人</h2>
          <p class="text-gray-600 max-w-xl">浏览附近有趣的人，根据共同兴趣和距离筛选</p>
        </div>
        <div class="hidden md:flex space-x-2">
          <button class="p-2 bg-white rounded-full shadow hover:shadow-md transition">
            <i class="fa fa-sliders text-gray-600"></i>
          </button>
          <button class="p-2 bg-white rounded-full shadow hover:shadow-md transition">
            <i class="fa fa-refresh text-gray-600"></i>
          </button>
        </div>
      </div>
      
      <!-- 筛选标签 -->
      <div class="flex overflow-x-auto pb-4 mb-8 space-x-2">
        <button class="px-4 py-2 bg-primary text-white rounded-full whitespace-nowrap">全部</button>
        <button class="px-4 py-2 bg-white rounded-full hover:bg-gray-100 whitespace-nowrap">兴趣相近</button>
        <button class="px-4 py-2 bg-white rounded-full hover:bg-gray-100 whitespace-nowrap">5公里以内</button>
        <button class="px-4 py-2 bg-white rounded-full hover:bg-gray-100 whitespace-nowrap">25-35岁</button>
        <button class="px-4 py-2 bg-white rounded-full hover:bg-gray-100 whitespace-nowrap">喜欢旅行</button>
        <button class="px-4 py-2 bg-white rounded-full hover:bg-gray-100 whitespace-nowrap">喜欢音乐</button>
        <button class="px-4 py-2 bg-white rounded-full hover:bg-gray-100 whitespace-nowrap">喜欢运动</button>
      </div>
      
      <!-- 推荐用户卡片 -->
      <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
        <!-- 用户1 -->
        <div class="bg-white rounded-2xl overflow-hidden hover-lift card-shadow">
          <div class="relative">
            <img src="https://picsum.photos/id/64/400/300" alt="用户照片" class="w-full h-56 object-cover">
            <div class="absolute top-4 right-4 bg-primary text-white text-xs px-2 py-1 rounded-full">2公里</div>
          </div>
          <div class="p-5">
            <div class="flex justify-between items-start mb-2">
              <h3 class="text-xl font-bold">张雨晴，28</h3>
              <div class="flex items-center text-yellow-400">
                <i class="fa fa-star text-sm"></i>
                <span class="ml-1 text-sm font-medium">98%</span>
              </div>
            </div>
            <p class="text-gray-600 text-sm mb-4">设计师 | 喜欢摄影和徒步</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">摄影</span>
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">旅行</span>
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">咖啡</span>
            </div>
            <div class="flex space-x-2">
              <button class="flex-1 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">喜欢</button>
              <button class="w-10 h-10 border border-gray-300 rounded-full flex items-center justify-center hover:bg-gray-100">
                <i class="fa fa-times text-gray-600"></i>
              </button>
            </div>
          </div>
        </div>
        
        <!-- 用户2 -->
        <div class="bg-white rounded-2xl overflow-hidden hover-lift card-shadow">
          <div class="relative">
            <img src="https://picsum.photos/id/91/400/300" alt="用户照片" class="w-full h-56 object-cover">
            <div class="absolute top-4 right-4 bg-primary text-white text-xs px-2 py-1 rounded-full">5公里</div>
          </div>
          <div class="p-5">
            <div class="flex justify-between items-start mb-2">
              <h3 class="text-xl font-bold">王浩，31</h3>
              <div class="flex items-center text-yellow-400">
                <i class="fa fa-star text-sm"></i>
                <span class="ml-1 text-sm font-medium">95%</span>
              </div>
            </div>
            <p class="text-gray-600 text-sm mb-4">程序员 | 喜欢音乐和电影</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">音乐</span>
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">电影</span>
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">游戏</span>
            </div>
            <div class="flex space-x-2">
              <button class="flex-1 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">喜欢</button>
              <button class="w-10 h-10 border border-gray-300 rounded-full flex items-center justify-center hover:bg-gray-100">
                <i class="fa fa-times text-gray-600"></i>
              </button>
            </div>
          </div>
        </div>
        
        <!-- 用户3 -->
        <div class="bg-white rounded-2xl overflow-hidden hover-lift card-shadow">
          <div class="relative">
            <img src="https://picsum.photos/id/65/400/300" alt="用户照片" class="w-full h-56 object-cover">
            <div class="absolute top-4 right-4 bg-primary text-white text-xs px-2 py-1 rounded-full">3公里</div>
          </div>
          <div class="p-5">
            <div class="flex justify-between items-start mb-2">
              <h3 class="text-xl font-bold">刘梦，26</h3>
              <div class="flex items-center text-yellow-400">
                <i class="fa fa-star text-sm"></i>
                <span class="ml-1 text-sm font-medium">97%</span>
              </div>
            </div>
            <p class="text-gray-600 text-sm mb-4">教师 | 喜欢阅读和瑜伽</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">阅读</span>
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">瑜伽</span>
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">烹饪</span>
            </div>
            <div class="flex space-x-2">
              <button class="flex-1 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">喜欢</button>
              <button class="w-10 h-10 border border-gray-300 rounded-full flex items-center justify-center hover:bg-gray-100">
                <i class="fa fa-times text-gray-600"></i>
              </button>
            </div>
          </div>
        </div>
        
        <!-- 用户4 -->
        <div class="bg-white rounded-2xl overflow-hidden hover-lift card-shadow">
          <div class="relative">
            <img src="https://picsum.photos/id/93/400/300" alt="用户照片" class="w-full h-56 object-cover">
            <div class="absolute top-4 right-4 bg-primary text-white text-xs px-2 py-1 rounded-full">8公里</div>
          </div>
          <div class="p-5">
            <div class="flex justify-between items-start mb-2">
              <h3 class="text-xl font-bold">张伟，30</h3>
              <div class="flex items-center text-yellow-400">
                <i class="fa fa-star text-sm"></i>
                <span class="ml-1 text-sm font-medium">92%</span>
              </div>
            </div>
            <p class="text-gray-600 text-sm mb-4">医生 | 喜欢跑步和美食</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">跑步</span>
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">美食</span>
              <span class="px-2 py-1 bg-neutral rounded-full text-xs">旅行</span>
            </div>
            <div class="flex space-x-2">
              <button class="flex-1 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">喜欢</button>
              <button class="w-10 h-10 border border-gray-300 rounded-full flex items-center justify-center hover:bg-gray-100">
                <i class="fa fa-times text-gray-600"></i>
              </button>
            </div>
          </div>
        </div>
      </div>
      
      <div class="text-center mt-12">
        <button class="px-6 py-3 border-2 border-primary text-primary rounded-full font-medium hover:bg-primary hover:text-white transition-colors">
          查看更多 <i class="fa fa-chevron-right ml-1"></i>
        </button>
      </div>
    </div>
  </section>

  <!-- 匹配区域 -->
  <section id="matches" class="py-16 bg-white">
    <div class="container mx-auto px-4">
      <div class="text-center mb-16">
        <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4">你的最佳匹配</h2>
        <p class="text-gray-600 max-w-2xl mx-auto">基于你们的共同兴趣和性格 compatibility，这些是最适合你的人</p>
      </div>
      
      <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
        <!-- 匹配1 -->
        <div class="bg-neutral rounded-2xl overflow-hidden flex flex-col md:flex-row hover-lift">
          <div class="md:w-1/3">
            <img src="https://picsum.photos/id/237/400/600" alt="匹配用户" class="w-full h-full object-cover">
          </div>
          <div class="md:w-2/3 p-6">
            <div class="flex justify-between items-start">
              <div>
                <h3 class="text-xl font-bold">陈佳，27</h3>
                <p class="text-gray-600">市场营销 | 2公里</p>
              </div>
              <div class="bg-secondary/20 text-secondary px-3 py-1 rounded-full text-sm font-medium">
                98% 匹配
              </div>
            </div>
            
            <div class="mt-4">
              <h4 class="font-medium mb-2">共同兴趣</h4>
              <div class="flex flex-wrap gap-2 mb-4">
                <span class="px-2 py-1 bg-white rounded-full text-xs">旅行</span>
                <span class="px-2 py-1 bg-white rounded-full text-xs">摄影</span>
                <span class="px-2 py-1 bg-white rounded-full text-xs">美食</span>
                <span class="px-2 py-1 bg-white rounded-full text-xs">音乐</span>
              </div>
            </div>
            
            <p class="text-gray-600 text-sm mb-4">"我喜欢探索新的地方和尝试不同的美食，希望能找到志同道合的人一起分享生活。"</p>
            
            <div class="flex space-x-3 mt-auto">
              <button class="flex-1 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">
                <i class="fa fa-comment mr-1"></i> 发消息
              </button>
              <button class="w-10 h-10 border border-gray-300 rounded-full flex items-center justify-center hover:bg-gray-100">
                <i class="fa fa-heart text-primary"></i>
              </button>
            </div>
          </div>
        </div>
        
        <!-- 匹配2 -->
        <div class="bg-neutral rounded-2xl overflow-hidden flex flex-col md:flex-row hover-lift">
          <div class="md:w-1/3">
            <img src="https://picsum.photos/id/177/400/600" alt="匹配用户" class="w-full h-full object-cover">
          </div>
          <div class="md:w-2/3 p-6">
            <div class="flex justify-between items-start">
              <div>
                <h3 class="text-xl font-bold">林晓，30</h3>
                <p class="text-gray-600">金融分析师 | 4公里</p>
              </div>
              <div class="bg-secondary/20 text-secondary px-3 py-1 rounded-full text-sm font-medium">
                96% 匹配
              </div>
            </div>
            
            <div class="mt-4">
              <h4 class="font-medium mb-2">共同兴趣</h4>
              <div class="flex flex-wrap gap-2 mb-4">
                <span class="px-2 py-1 bg-white rounded-full text-xs">健身</span>
                <span class="px-2 py-1 bg-white rounded-full text-xs">阅读</span>
                <span class="px-2 py-1 bg-white rounded-full text-xs">电影</span>
              </div>
            </div>
            
            <p class="text-gray-600 text-sm mb-4">"工作日是严谨的分析师，周末喜欢去健身房和看电影。希望找到能平衡工作和生活的人。"</p>
            
            <div class="flex space-x-3 mt-auto">
              <button class="flex-1 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">
                <i class="fa fa-comment mr-1"></i> 发消息
              </button>
              <button class="w-10 h-10 border border-gray-300 rounded-full flex items-center justify-center hover:bg-gray-100">
                <i class="fa fa-heart text-primary"></i>
              </button>
            </div>
          </div>
        </div>
      </div>
      
      <!-- 匹配进度 -->
      <div class="mt-16 bg-neutral p-8 rounded-2xl">
        <h3 class="text-xl font-bold mb-6">你的匹配进度</h3>
        <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
          <div class="bg-white p-6 rounded-xl">
            <div class="flex justify-between items-center mb-4">
              <h4 class="font-medium">活跃对话</h4>
              <span class="bg-primary/10 text-primary px-2 py-1 rounded-full text-sm">7</span>
            </div>
            <div class="w-full bg-gray-200 rounded-full h-2.5 mb-2">
              <div class="bg-primary h-2.5 rounded-full" style="width: 70%"></div>
            </div>
            <p class="text-sm text-gray-600">比上周增加 2 个</p>
          </div>
          
          <div class="bg-white p-6 rounded-xl">
            <div class="flex justify-between items-center mb-4">
              <h4 class="font-medium">新匹配</h4>
              <span class="bg-secondary/10 text-secondary px-2 py-1 rounded-full text-sm">12</span>
            </div>
            <div class="w-full bg-gray-200 rounded-full h-2.5 mb-2">
              <div class="bg-secondary h-2.5 rounded-full" style="width: 90%"></div>
            </div>
            <p class="text-sm text-gray-600">比上周增加 5 个</p>
          </div>
          
          <div class="bg-white p-6 rounded-xl">
            <div class="flex justify-between items-center mb-4">
              <h4 class="font-medium">匹配质量</h4>
              <span class="bg-yellow-500/10 text-yellow-500 px-2 py-1 rounded-full text-sm">92%</span>
            </div>
            <div class="w-full bg-gray-200 rounded-full h-2.5 mb-2">
              <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 92%"></div>
            </div>
            <p class="text-sm text-gray-600">高于平均水平 15%</p>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- 活动区域 -->
  <section id="events" class="py-16 bg-neutral">
    <div class="container mx-auto px-4">
      <div class="text-center mb-16">
        <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4">交友活动</h2>
        <p class="text-gray-600 max-w-2xl mx-auto">参加我们的线下活动，在轻松愉快的氛围中认识新朋友</p>
      </div>
      
      <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
        <!-- 活动1 -->
        <div class="bg-white rounded-2xl overflow-hidden hover-lift">
          <div class="relative">
            <img src="https://picsum.photos/id/225/600/400" alt="活动照片" class="w-full h-48 object-cover">
            <div class="absolute top-4 left-4 bg-primary text-white text-xs px-3 py-1 rounded-full">
              <i class="fa fa-calendar-o mr-1"></i> 6月15日
            </div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-bold mb-2">咖啡品鉴会</h3>
            <p class="text-gray-600 text-sm mb-4">一起品尝精选咖啡，学习咖啡知识，认识同样喜欢咖啡的朋友</p>
            <div class="flex items-center text-sm text-gray-500 mb-4">
              <div class="flex items-center mr-4">
                <i class="fa fa-map-marker text-primary mr-1"></i>
                <span>星光咖啡馆</span>
              </div>
              <div class="flex items-center">
                <i class="fa fa-clock-o text-primary mr-1"></i>
                <span>14:00-16:00</span>
              </div>
            </div>
            <div class="flex justify-between items-center">
              <div class="flex -space-x-2">
                <img src="https://picsum.photos/id/64/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <img src="https://picsum.photos/id/65/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <img src="https://picsum.photos/id/91/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <div class="w-8 h-8 rounded-full bg-gray-200 border-2 border-white flex items-center justify-center text-xs font-medium">+12</div>
              </div>
              <button class="px-4 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">
                报名参加
              </button>
            </div>
          </div>
        </div>
        
        <!-- 活动2 -->
        <div class="bg-white rounded-2xl overflow-hidden hover-lift">
          <div class="relative">
            <img src="https://picsum.photos/id/106/600/400" alt="活动照片" class="w-full h-48 object-cover">
            <div class="absolute top-4 left-4 bg-primary text-white text-xs px-3 py-1 rounded-full">
              <i class="fa fa-calendar-o mr-1"></i> 6月20日
            </div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-bold mb-2">城市徒步之旅</h3>
            <p class="text-gray-600 text-sm mb-4">探索城市隐秘角落，享受徒步乐趣，结交热爱自然的朋友</p>
            <div class="flex items-center text-sm text-gray-500 mb-4">
              <div class="flex items-center mr-4">
                <i class="fa fa-map-marker text-primary mr-1"></i>
                <span>中央公园入口</span>
              </div>
              <div class="flex items-center">
                <i class="fa fa-clock-o text-primary mr-1"></i>
                <span>09:00-12:00</span>
              </div>
            </div>
            <div class="flex justify-between items-center">
              <div class="flex -space-x-2">
                <img src="https://picsum.photos/id/93/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <img src="https://picsum.photos/id/66/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <img src="https://picsum.photos/id/67/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <div class="w-8 h-8 rounded-full bg-gray-200 border-2 border-white flex items-center justify-center text-xs font-medium">+24</div>
              </div>
              <button class="px-4 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">
                报名参加
              </button>
            </div>
          </div>
        </div>
        
        <!-- 活动3 -->
        <div class="bg-white rounded-2xl overflow-hidden hover-lift">
          <div class="relative">
            <img src="https://picsum.photos/id/325/600/400" alt="活动照片" class="w-full h-48 object-cover">
            <div class="absolute top-4 left-4 bg-primary text-white text-xs px-3 py-1 rounded-full">
              <i class="fa fa-calendar-o mr-1"></i> 6月25日
            </div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-bold mb-2">电影交流会</h3>
            <p class="text-gray-600 text-sm mb-4">观看经典电影，分享观影感受，认识同样热爱电影的朋友</p>
            <div class="flex items-center text-sm text-gray-500 mb-4">
              <div class="flex items-center mr-4">
                <i class="fa fa-map-marker text-primary mr-1"></i>
                <span>光影电影院</span>
              </div>
              <div class="flex items-center">
                <i class="fa fa-clock-o text-primary mr-1"></i>
                <span>19:00-21:30</span>
              </div>
            </div>
            <div class="flex justify-between items-center">
              <div class="flex -space-x-2">
                <img src="https://picsum.photos/id/237/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <img src="https://picsum.photos/id/177/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <img src="https://picsum.photos/id/64/100" alt="参与者" class="w-8 h-8 rounded-full border-2 border-white">
                <div class="w-8 h-8 rounded-full bg-gray-200 border-2 border-white flex items-center justify-center text-xs font-medium">+18</div>
              </div>
              <button class="px-4 py-2 bg-primary text-white rounded-full text-sm hover:bg-primary/90">
                报名参加
              </button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- 注册引导 -->
  <section class="py-20 bg-gradient-to-r from-primary to-secondary text-white">
    <div class="container mx-auto px-4 text-center">
      <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-6">准备好开始你的交友之旅了吗？</h2>
      <p class="text-white/90 max-w-2xl mx-auto mb-8 text-lg">加入我们，找到那个特别的人，开启精彩的人生新篇章</p>
      <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
        <a href="#" class="px-8 py-3 bg-white text-primary rounded-full text-center font-medium hover:bg-gray-100 transition-all shadow-lg">
          免费注册
        </a>
        <a href="#" class="px-8 py-3 border-2 border-white rounded-full text-center font-medium hover:bg-white/10 transition-all">
          了解会员权益
        </a>
      </div>
    </div>
  </section>

  <!-- 页脚 -->
  <footer class="bg-dark text-white py-12">
    <div class="container mx-auto px-4">
      <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
        <div>
          <div class="flex items-center space-x-2 mb-6">
            <i class="fa fa-heart text-primary text-2xl"></i>
            <span class="text-xl font-bold">HeartLink</span>
          </div>
          <p class="text-gray-400 mb-6">连接心灵，找到真爱。我们致力于帮助每个人找到属于自己的幸福。</p>
          <div class="flex space-x-4">
            <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
              <i class="fa fa-facebook"></i>
            </a>
            <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
              <i class="fa fa-twitter"></i>
            </a>
            <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
              <i class="fa fa-instagram"></i>
            </a>
            <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-primary transition-colors">
              <i class="fa fa-linkedin"></i>
            </a>
          </div>
        </div>
        
        <div>
          <h4 class="text-lg font-bold mb-6">快速链接</h4>
          <ul class="space-y-3">
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">首页</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">发现</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">匹配</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">活动</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">关于我们</a></li>
          </ul>
        </div>
        
        <div>
          <h4 class="text-lg font-bold mb-6">帮助中心</h4>
          <ul class="space-y-3">
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">常见问题</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">安全提示</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">联系我们</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">隐私政策</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition-colors">服务条款</a></li>
          </ul>
        </div>
        
        <div>
          <h4 class="text-lg font-bold mb-6">联系我们</h4>
          <ul class="space-y-3">
            <li class="flex items-start">
              <i class="fa fa-map-marker text-primary mt-1 mr-3"></i>
              <span class="text-gray-400">北京市朝阳区建国路88号</span>
            </li>
            <li class="flex items-center">
              <i class="fa fa-phone text-primary mr-3"></i>
              <span class="text-gray-400">400-123-4567</span>
            </li>
            <li class="flex items-center">
              <i class="fa fa-envelope text-primary mr-3"></i>
              <span class="text-gray-400">contact@heartlink.com</span>
            </li>
          </ul>
        </div>
      </div>
      
      <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500 text-sm">
        <p>&copy; 2023 HeartLink. 保留所有权利。</p>
      </div>
    </div>
  </footer>

  <!-- JavaScript -->
  <script>
    // 导航栏滚动效果
    window.addEventListener('scroll', function() {
      const navbar = document.getElementById('navbar');
      if (window.scrollY > 50) {
        navbar.classList.add('nav-scrolled');
      } else {
        navbar.classList.remove('nav-scrolled');
      }
    });
    
    // 移动端菜单切换
    document.getElementById('menuBtn').addEventListener('click', function() {
      const mobileMenu = document.getElementById('mobileMenu');
      mobileMenu.classList.toggle('hidden');
    });
    
    // 页面加载动画
    document.addEventListener('DOMContentLoaded', function() {
      // 为各个部分添加渐入动画
      const sections = document.querySelectorAll('section > div > div');
      sections.forEach((section, index) => {
        setTimeout(() => {
          section.classList.add('fade-in');
        }, 100 * index);
      });
    });
  </script>
</body>
</html>